# $Id: PKGBUILD 184449 2013-05-06 19:40:11Z foutrelis $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=wv
pkgver=1.2.9
pkgrel=2
pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/wvware"
license=('GPL')
depends=('libgsf' 'libpng' 'sh')
makedepends=('pkg-config')
options=('!libtool')
source=("http://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('dbccf2e9f747e50c913b7e3d126b73f7')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr \
              --mandir=/usr/share/man
  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR="${pkgdir}" install
}
